package com.xin.marcus.domain;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import javax.validation.constraints.NotNull;

import java.io.Serializable;

import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

/**
* 投资记录表
* @TableName b_bid_info
*/
public class BBidInfo implements Serializable {

    /**
    * 投标记录ID
    */
    @NotNull(message="[投标记录ID]不能为空")
    @ApiModelProperty("投标记录ID")
    private Integer id;
    /**
    * 产品ID
    */
    @NotNull(message="[产品ID]不能为空")
    @ApiModelProperty("产品ID")
    private Integer loanId;
    /**
    * 用户ID
    */
    @NotNull(message="[用户ID]不能为空")
    @ApiModelProperty("用户ID")
    private Integer uid;
    /**
    * 投标金额
    */
    @NotNull(message="[投标金额]不能为空")
    @ApiModelProperty("投标金额")
    private BigDecimal bidMoney;
    /**
    * 投标时间
    */
    @NotNull(message="[投标时间]不能为空")
    @ApiModelProperty("投标时间")
    private Date bidTime;
    /**
    * 投标状态
    */
    @NotNull(message="[投标状态]不能为空")
    @ApiModelProperty("投标状态")
    private Integer bidStatus;

    /**
    * 投标记录ID
    */
    private void setId(Integer id){
    this.id = id;
    }

    /**
    * 产品ID
    */
    private void setLoanId(Integer loanId){
    this.loanId = loanId;
    }

    /**
    * 用户ID
    */
    private void setUid(Integer uid){
    this.uid = uid;
    }

    /**
    * 投标金额
    */
    private void setBidMoney(BigDecimal bidMoney){
    this.bidMoney = bidMoney;
    }

    /**
    * 投标时间
    */
    private void setBidTime(Date bidTime){
    this.bidTime = bidTime;
    }

    /**
    * 投标状态
    */
    private void setBidStatus(Integer bidStatus){
    this.bidStatus = bidStatus;
    }


    /**
    * 投标记录ID
    */
    private Integer getId(){
    return this.id;
    }

    /**
    * 产品ID
    */
    private Integer getLoanId(){
    return this.loanId;
    }

    /**
    * 用户ID
    */
    private Integer getUid(){
    return this.uid;
    }

    /**
    * 投标金额
    */
    private BigDecimal getBidMoney(){
    return this.bidMoney;
    }

    /**
    * 投标时间
    */
    private Date getBidTime(){
    return this.bidTime;
    }

    /**
    * 投标状态
    */
    private Integer getBidStatus(){
    return this.bidStatus;
    }

}
